<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  created () {
    // 测试request请求是否被挂载到了原型上
    // console.log(this)
    // this.$request.get('/').then(res => {
    //   console.log(res)
    // })
  }

}
</script>

<style lang="scss" scoped>
#app{
  .btn{
    width: 100px;
    height: 80px;
    background-color: #8df;
  }
}
</style>
